<!-- HTML header for doxygen 1.8.13-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>MTB CAT1 Peripheral driver library: Functions</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen_style.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><a href="http://www.cypress.com/"><img alt="Logo" src="IFXCYP_one-line.png"/></a></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">MTB CAT1 Peripheral driver library</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('group__group__hppass__sar__functions.html','');});
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">API Reference</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">Functions<div class="ingroups"><a class="el" href="group__group__hppass.html">HPPASS       (High Performance Programmable Analog Sub-System)</a> &raquo; <a class="el" href="group__group__hppass__sar.html">SAR (Successive-Approximation Register Analogue to Digital Converter)</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">General Description</h2>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
API Reference</h2></td></tr>
<tr class="memitem:group__group__hppass__sar__chan"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__chan.html">Channel functions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hppass__sar__fir"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__fir.html">FIR functions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:group__group__hppass__sar__fifo"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__fifo.html">FIFO functions</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga60bb35c82a4f96e3c1a986c8b423ef99"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga60bb35c82a4f96e3c1a986c8b423ef99">Cy_HPPASS_SAR_Init</a> (const <a class="el" href="structcy__stc__hppass__sar__t.html">cy_stc_hppass_sar_t</a> *sarCfg)</td></tr>
<tr class="memdesc:ga60bb35c82a4f96e3c1a986c8b423ef99"><td class="mdescLeft">&#160;</td><td class="mdescRight">Loads the SAR ADC configuration.  <a href="#ga60bb35c82a4f96e3c1a986c8b423ef99">More...</a><br /></td></tr>
<tr class="separator:ga60bb35c82a4f96e3c1a986c8b423ef99"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2b2c892d92a5f5f3bdce9715c2401d58"><td class="memItemLeft" align="right" valign="top"><a id="ga2b2c892d92a5f5f3bdce9715c2401d58"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga2b2c892d92a5f5f3bdce9715c2401d58">Cy_HPPASS_SAR_DeInit</a> (void)</td></tr>
<tr class="memdesc:ga2b2c892d92a5f5f3bdce9715c2401d58"><td class="mdescLeft">&#160;</td><td class="mdescRight">Resets all the SAR registers to their default state. <br /></td></tr>
<tr class="separator:ga2b2c892d92a5f5f3bdce9715c2401d58"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5349530318d79007e2cef458f2c0fe56"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga5349530318d79007e2cef458f2c0fe56">Cy_HPPASS_SAR_IsBusy</a> (void)</td></tr>
<tr class="memdesc:ga5349530318d79007e2cef458f2c0fe56"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the SAR ADC busy status.  <a href="#ga5349530318d79007e2cef458f2c0fe56">More...</a><br /></td></tr>
<tr class="separator:ga5349530318d79007e2cef458f2c0fe56"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga239af9f2d06beb9ae2fb20187e0dba91"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga239af9f2d06beb9ae2fb20187e0dba91">Cy_HPPASS_SAR_Limit_Config</a> (uint8_t limIdx, const <a class="el" href="structcy__stc__hppass__sar__limit__t.html">cy_stc_hppass_sar_limit_t</a> *limCfg)</td></tr>
<tr class="memdesc:ga239af9f2d06beb9ae2fb20187e0dba91"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures the ADC limit crossing detection block.  <a href="#ga239af9f2d06beb9ae2fb20187e0dba91">More...</a><br /></td></tr>
<tr class="separator:ga239af9f2d06beb9ae2fb20187e0dba91"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae7372202646043f2295c6b1367424216"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gae7372202646043f2295c6b1367424216">Cy_HPPASS_SAR_CrossTalkAdjust</a> (uint8_t groupMsk)</td></tr>
<tr class="memdesc:gae7372202646043f2295c6b1367424216"><td class="mdescLeft">&#160;</td><td class="mdescRight">Adjusts the sampler offset trimming according to the number of simultaneously triggered (sampled and held) samplers, specified by groupMask (for single or multiple simultaneously triggered groups with same timing settings)  <a href="#gae7372202646043f2295c6b1367424216">More...</a><br /></td></tr>
<tr class="separator:gae7372202646043f2295c6b1367424216"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3de90ec7c0eb9d3a2a559ab323458b7b"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga3de90ec7c0eb9d3a2a559ab323458b7b">Cy_HPPASS_SAR_GroupConfig</a> (uint8_t grpIdx, const <a class="el" href="structcy__stc__hppass__sar__grp__t.html">cy_stc_hppass_sar_grp_t</a> *grpCfg)</td></tr>
<tr class="memdesc:ga3de90ec7c0eb9d3a2a559ab323458b7b"><td class="mdescLeft">&#160;</td><td class="mdescRight">Configures a single Sequencer Group.  <a href="#ga3de90ec7c0eb9d3a2a559ab323458b7b">More...</a><br /></td></tr>
<tr class="separator:ga3de90ec7c0eb9d3a2a559ab323458b7b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad09a8bb8ffbe65b558ca4f22e55347ed"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gad09a8bb8ffbe65b558ca4f22e55347ed">Cy_HPPASS_SAR_DisableGroupContConvert</a> (uint8_t grpIdx)</td></tr>
<tr class="memdesc:gad09a8bb8ffbe65b558ca4f22e55347ed"><td class="mdescLeft">&#160;</td><td class="mdescRight">Disables continuous conversion for the specified SAR group.  <a href="#gad09a8bb8ffbe65b558ca4f22e55347ed">More...</a><br /></td></tr>
<tr class="separator:gad09a8bb8ffbe65b558ca4f22e55347ed"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga3084b0be0216b593584c68f799553a5f"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga3084b0be0216b593584c68f799553a5f">Cy_HPPASS_SAR_GetTriggerCollisionStatus</a> (void)</td></tr>
<tr class="memdesc:ga3084b0be0216b593584c68f799553a5f"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Sequencer Group Trigger Collision Status for all the Groups.  <a href="#ga3084b0be0216b593584c68f799553a5f">More...</a><br /></td></tr>
<tr class="separator:ga3084b0be0216b593584c68f799553a5f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae8665e6baadc7d4eed90771fd9471129"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gae8665e6baadc7d4eed90771fd9471129">Cy_HPPASS_SAR_ClearTriggerCollisionStatus</a> (uint8_t trigCollision)</td></tr>
<tr class="memdesc:gae8665e6baadc7d4eed90771fd9471129"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the Sequencer Group Trigger Collision Status for the specified Sequences.  <a href="#gae8665e6baadc7d4eed90771fd9471129">More...</a><br /></td></tr>
<tr class="separator:gae8665e6baadc7d4eed90771fd9471129"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0452cda79fe2df67fdf19b967975158a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint8_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga0452cda79fe2df67fdf19b967975158a">Cy_HPPASS_SAR_GetHoldViolationStatus</a> (void)</td></tr>
<tr class="memdesc:ga0452cda79fe2df67fdf19b967975158a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the Sequencer Group Hold Violation Status for all the Sequences.  <a href="#ga0452cda79fe2df67fdf19b967975158a">More...</a><br /></td></tr>
<tr class="separator:ga0452cda79fe2df67fdf19b967975158a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae62232436fd4a7b10910f45f69b026fd"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gae62232436fd4a7b10910f45f69b026fd">Cy_HPPASS_SAR_ClearHoldViolationStatus</a> (uint8_t holdViolation)</td></tr>
<tr class="memdesc:gae62232436fd4a7b10910f45f69b026fd"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the Sequencer Group Hold Violation Status for the specified Sequences.  <a href="#gae62232436fd4a7b10910f45f69b026fd">More...</a><br /></td></tr>
<tr class="separator:gae62232436fd4a7b10910f45f69b026fd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9fd436201ef4ead2ec1083f83c8feff4"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga9fd436201ef4ead2ec1083f83c8feff4">Cy_HPPASS_SAR_SetHoldViolationCnt</a> (uint16_t cnt)</td></tr>
<tr class="memdesc:ga9fd436201ef4ead2ec1083f83c8feff4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets the common maximum hold count value for all the Sequencer Groups.  <a href="#ga9fd436201ef4ead2ec1083f83c8feff4">More...</a><br /></td></tr>
<tr class="separator:ga9fd436201ef4ead2ec1083f83c8feff4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga81b1f81695eda9439c95a19486e84664"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga81b1f81695eda9439c95a19486e84664">Cy_HPPASS_SAR_GetHoldViolationCnt</a> (void)</td></tr>
<tr class="memdesc:ga81b1f81695eda9439c95a19486e84664"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the common maximum hold count value for all the Sequencer Groups.  <a href="#ga81b1f81695eda9439c95a19486e84664">More...</a><br /></td></tr>
<tr class="separator:ga81b1f81695eda9439c95a19486e84664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1ac70409790506a22b8ae995c272a435"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga1ac70409790506a22b8ae995c272a435">Cy_HPPASS_SAR_SetTempSensorCurrent</a> (<a class="el" href="group__group__hppass__sar__enums.html#gac8e3e55c7177e5a2824875af39cd78a1">cy_en_hppass_sar_temp_sensor_current_t</a> curr)</td></tr>
<tr class="memdesc:ga1ac70409790506a22b8ae995c272a435"><td class="mdescLeft">&#160;</td><td class="mdescRight">Selects low or high current for temperature sensor.  <a href="#ga1ac70409790506a22b8ae995c272a435">More...</a><br /></td></tr>
<tr class="separator:ga1ac70409790506a22b8ae995c272a435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf2058860b27001f3d1eb23ad5f086e6c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gaf2058860b27001f3d1eb23ad5f086e6c">Cy_HPPASS_TEMP_Calc</a> (int16_t tempHi, int16_t tempLo)</td></tr>
<tr class="memdesc:gaf2058860b27001f3d1eb23ad5f086e6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Calculates the temperature based on two ADC reading results of temperature sensor.  <a href="#gaf2058860b27001f3d1eb23ad5f086e6c">More...</a><br /></td></tr>
<tr class="separator:gaf2058860b27001f3d1eb23ad5f086e6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae982cd8f92aa77b171520a19ab3fb626"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gae982cd8f92aa77b171520a19ab3fb626">Cy_HPPASS_SAR_TempAdjust</a> (int16_t temp, uint16_t vRef)</td></tr>
<tr class="memdesc:gae982cd8f92aa77b171520a19ab3fb626"><td class="mdescLeft">&#160;</td><td class="mdescRight">BWC.  <a href="#gae982cd8f92aa77b171520a19ab3fb626">More...</a><br /></td></tr>
<tr class="separator:gae982cd8f92aa77b171520a19ab3fb626"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gae0abc60093f11512759672d1e0883c5a"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gae0abc60093f11512759672d1e0883c5a">Cy_HPPASS_SAR_Limit_GetInterruptStatus</a> (void)</td></tr>
<tr class="memdesc:gae0abc60093f11512759672d1e0883c5a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the limit crossing interrupt register status.  <a href="#gae0abc60093f11512759672d1e0883c5a">More...</a><br /></td></tr>
<tr class="separator:gae0abc60093f11512759672d1e0883c5a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga829d71421d3d57e4ac9c06bfbf8d9c37"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga829d71421d3d57e4ac9c06bfbf8d9c37">Cy_HPPASS_SAR_Limit_ClearInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga829d71421d3d57e4ac9c06bfbf8d9c37"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears the limit crossing interrupt for SAR.  <a href="#ga829d71421d3d57e4ac9c06bfbf8d9c37">More...</a><br /></td></tr>
<tr class="separator:ga829d71421d3d57e4ac9c06bfbf8d9c37"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga0308c7f9d1bb48be9254ba33ba45454c"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga0308c7f9d1bb48be9254ba33ba45454c">Cy_HPPASS_SAR_Limit_SetInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga0308c7f9d1bb48be9254ba33ba45454c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a software interrupt request for the specified limit crossing detection block.  <a href="#ga0308c7f9d1bb48be9254ba33ba45454c">More...</a><br /></td></tr>
<tr class="separator:ga0308c7f9d1bb48be9254ba33ba45454c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaccf34dc0221088859ed778aa1de3afd8"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gaccf34dc0221088859ed778aa1de3afd8">Cy_HPPASS_SAR_Limit_SetInterruptMask</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:gaccf34dc0221088859ed778aa1de3afd8"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the interrupt for the specified limit crossing detection block.  <a href="#gaccf34dc0221088859ed778aa1de3afd8">More...</a><br /></td></tr>
<tr class="separator:gaccf34dc0221088859ed778aa1de3afd8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga6f0e6799b4dd13745c9b657b9bd8f6f1"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga6f0e6799b4dd13745c9b657b9bd8f6f1">Cy_HPPASS_SAR_Limit_GetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:ga6f0e6799b4dd13745c9b657b9bd8f6f1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Returns the interrupt mask for the specified limit crossing detection block.  <a href="#ga6f0e6799b4dd13745c9b657b9bd8f6f1">More...</a><br /></td></tr>
<tr class="separator:ga6f0e6799b4dd13745c9b657b9bd8f6f1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8efe74693ccee843bc6ca9bbd4253cb1"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga8efe74693ccee843bc6ca9bbd4253cb1">Cy_HPPASS_SAR_Limit_GetInterruptStatusMasked</a> (void)</td></tr>
<tr class="memdesc:ga8efe74693ccee843bc6ca9bbd4253cb1"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets limit crossing interrupt masked status.  <a href="#ga8efe74693ccee843bc6ca9bbd4253cb1">More...</a><br /></td></tr>
<tr class="separator:ga8efe74693ccee843bc6ca9bbd4253cb1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaac98d2e357bd40e5705757bc9d863557"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gaac98d2e357bd40e5705757bc9d863557">Cy_HPPASS_SAR_Result_GetInterruptStatus</a> (void)</td></tr>
<tr class="memdesc:gaac98d2e357bd40e5705757bc9d863557"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the SAR result interrupt status (ENTRY done, FIR done).  <a href="#gaac98d2e357bd40e5705757bc9d863557">More...</a><br /></td></tr>
<tr class="separator:gaac98d2e357bd40e5705757bc9d863557"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5006b9e96c29a04b98946d7a08dbcce6"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga5006b9e96c29a04b98946d7a08dbcce6">Cy_HPPASS_SAR_Result_ClearInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga5006b9e96c29a04b98946d7a08dbcce6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears SAR result interrupt.  <a href="#ga5006b9e96c29a04b98946d7a08dbcce6">More...</a><br /></td></tr>
<tr class="separator:ga5006b9e96c29a04b98946d7a08dbcce6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga331b8e7df3910122575b518b41466c22"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga331b8e7df3910122575b518b41466c22">Cy_HPPASS_SAR_Result_SetInterrupt</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga331b8e7df3910122575b518b41466c22"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets a software SAR result interrupt request.  <a href="#ga331b8e7df3910122575b518b41466c22">More...</a><br /></td></tr>
<tr class="separator:ga331b8e7df3910122575b518b41466c22"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7102969241d68c2abeda3aeb01155cc6"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga7102969241d68c2abeda3aeb01155cc6">Cy_HPPASS_SAR_Result_SetInterruptMask</a> (uint32_t interrupt)</td></tr>
<tr class="memdesc:ga7102969241d68c2abeda3aeb01155cc6"><td class="mdescLeft">&#160;</td><td class="mdescRight">Enables the SAR result interrupt.  <a href="#ga7102969241d68c2abeda3aeb01155cc6">More...</a><br /></td></tr>
<tr class="separator:ga7102969241d68c2abeda3aeb01155cc6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga2c4cb400374c2813e7bc16d1d2385323"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga2c4cb400374c2813e7bc16d1d2385323">Cy_HPPASS_SAR_Result_GetInterruptMask</a> (void)</td></tr>
<tr class="memdesc:ga2c4cb400374c2813e7bc16d1d2385323"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the SAR result interrupt mask.  <a href="#ga2c4cb400374c2813e7bc16d1d2385323">More...</a><br /></td></tr>
<tr class="separator:ga2c4cb400374c2813e7bc16d1d2385323"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga1f4f81acddb913b5fe653253d49561d7"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga1f4f81acddb913b5fe653253d49561d7">Cy_HPPASS_SAR_Result_GetInterruptStatusMasked</a> (void)</td></tr>
<tr class="memdesc:ga1f4f81acddb913b5fe653253d49561d7"><td class="mdescLeft">&#160;</td><td class="mdescRight">Gets the SAR result interrupt masked status.  <a href="#ga1f4f81acddb913b5fe653253d49561d7">More...</a><br /></td></tr>
<tr class="separator:ga1f4f81acddb913b5fe653253d49561d7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad8e6f0d4464cb9c4f312d66edaefe7cb"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gad8e6f0d4464cb9c4f312d66edaefe7cb">Cy_HPPASS_SAR_SetSwitch</a> (uint16_t muxMask)</td></tr>
<tr class="memdesc:gad8e6f0d4464cb9c4f312d66edaefe7cb"><td class="mdescLeft">&#160;</td><td class="mdescRight">Sets selected AROUTE switch closed.  <a href="#gad8e6f0d4464cb9c4f312d66edaefe7cb">More...</a><br /></td></tr>
<tr class="separator:gad8e6f0d4464cb9c4f312d66edaefe7cb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga80c8ca625de6167c4aaf255e8f43539e"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga80c8ca625de6167c4aaf255e8f43539e">Cy_HPPASS_SAR_ClearSwitch</a> (uint16_t muxMask)</td></tr>
<tr class="memdesc:ga80c8ca625de6167c4aaf255e8f43539e"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clears selected AROUTE switch open.  <a href="#ga80c8ca625de6167c4aaf255e8f43539e">More...</a><br /></td></tr>
<tr class="separator:ga80c8ca625de6167c4aaf255e8f43539e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga433f8b449d9a6ddab564ac18c400a742"><td class="memItemLeft" align="right" valign="top">__STATIC_INLINE uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga433f8b449d9a6ddab564ac18c400a742">Cy_HPPASS_SAR_GetSwitchStatus</a> (void)</td></tr>
<tr class="memdesc:ga433f8b449d9a6ddab564ac18c400a742"><td class="mdescLeft">&#160;</td><td class="mdescRight">Reads the current state of the AROUTE switch.  <a href="#ga433f8b449d9a6ddab564ac18c400a742">More...</a><br /></td></tr>
<tr class="separator:ga433f8b449d9a6ddab564ac18c400a742"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gad83e633bb4c9181c1a368f1a0c2463ea"><td class="memItemLeft" align="right" valign="top"><a class="el" href="group__group__syslib__macros.html#ga4611b605e45ab401f02cab15c5e38715">float32_t</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#gad83e633bb4c9181c1a368f1a0c2463ea">Cy_HPPASS_SAR_CountsTo_Volts</a> (uint8_t chanIdx, uint16_t vRef, int16_t chanCounts)</td></tr>
<tr class="memdesc:gad83e633bb4c9181c1a368f1a0c2463ea"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the raw ADC result in counts into the analog pin voltage in volts.  <a href="#gad83e633bb4c9181c1a368f1a0c2463ea">More...</a><br /></td></tr>
<tr class="separator:gad83e633bb4c9181c1a368f1a0c2463ea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga64204ad39c12e826a25a8552db509498"><td class="memItemLeft" align="right" valign="top">int16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga64204ad39c12e826a25a8552db509498">Cy_HPPASS_SAR_CountsTo_mVolts</a> (uint8_t chanIdx, uint16_t vRef, int16_t chanCounts)</td></tr>
<tr class="memdesc:ga64204ad39c12e826a25a8552db509498"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the raw ADC result in counts into the analog pin voltage in millivolts.  <a href="#ga64204ad39c12e826a25a8552db509498">More...</a><br /></td></tr>
<tr class="separator:ga64204ad39c12e826a25a8552db509498"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga280dae9d1868fc564b25f73cc64d6b70"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group__group__hppass__sar__functions.html#ga280dae9d1868fc564b25f73cc64d6b70">Cy_HPPASS_SAR_CountsTo_uVolts</a> (uint8_t chanIdx, uint16_t vRef, int16_t chanCounts)</td></tr>
<tr class="memdesc:ga280dae9d1868fc564b25f73cc64d6b70"><td class="mdescLeft">&#160;</td><td class="mdescRight">Converts the raw ADC result in counts into the analog pin voltage in microvolts.  <a href="#ga280dae9d1868fc564b25f73cc64d6b70">More...</a><br /></td></tr>
<tr class="separator:ga280dae9d1868fc564b25f73cc64d6b70"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga60bb35c82a4f96e3c1a986c8b423ef99"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga60bb35c82a4f96e3c1a986c8b423ef99">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_SAR_Init </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="structcy__stc__hppass__sar__t.html">cy_stc_hppass_sar_t</a> *&#160;</td>
          <td class="paramname"><em>sarCfg</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Loads the SAR ADC configuration. </p>
<p>Can be used after the <a class="el" href="group__group__hppass__cfg__functions.html#ga8d22889d8dd8c3fd87df1db2869a6956">Cy_HPPASS_Init</a> function to update the SAR settings.</p>
<dl class="section note"><dt>Note</dt><dd>If AC is running the initialization of SAR block is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a7f6c5e025421582710cadfffcada200c">CY_HPPASS_AC_INVALID_STATE</a> will be returned).</dd>
<dd>
If the SAR block is currently busy the initialization is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a1b8592bb519e24c005a10ee1d49a8c58">CY_HPPASS_SAR_INVALID_STATE</a> will be returned).</dd>
<dd>
Since the 'block ready' status is combined SAR and CSG, this particular SAR function cannot be protected from reinitialization during the 'block ready' == true condition, so it is on user's responsibility when and from where to call this function to reinitialize the SAR block.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">sarCfg</td><td>Pointer to the SAR configuration structure <a class="el" href="structcy__stc__hppass__sar__t.html">cy_stc_hppass_sar_t</a>. The pointer cannot be NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status of initialization, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line"><a class="code" href="structcy__stc__hppass__sar__t.html">cy_stc_hppass_sar_t</a> sarCfg =</div><div class="line">{</div><div class="line">    .<a class="code" href="structcy__stc__hppass__sar__t.html#a89d3ae8c9d968982463d1f8096d30fb4">vref</a>        = <a class="code" href="group__group__hppass__sar__enums.html#ggad2d8f05def7ce065349e30631c34144fa091c21a6de9c6099d5f7cbbbc1e1a87a">CY_HPPASS_SAR_VREF_VDDA</a>,</div><div class="line">    .lowSupply   = <span class="keyword">false</span>,</div><div class="line">    .offsetCal   = <span class="keyword">false</span>,</div><div class="line">    .linearCal   = <span class="keyword">false</span>,</div><div class="line">    .gainCal     = <span class="keyword">false</span>,</div><div class="line">    .chanId      = <span class="keyword">false</span>,</div><div class="line">    .dirSampEnMsk   = <a class="code" href="group__group__hppass__sar__direct__samplers.html#gaca3d7ea9142b4b797c01e88c2a98624d">CY_HPPASS_SAR_DIRECT_SAMP_0</a>,</div><div class="line">    .muxSampEnMsk   = <a class="code" href="group__group__hppass__sar__muxed__samplers.html#gaf21f34172a8ec7e54b16000e73fafc21">CY_HPPASS_SAR_MUXED_SAMP_0</a> | <a class="code" href="group__group__hppass__sar__muxed__samplers.html#ga1c7a4d2f3700e836f84e51cfa372b85e">CY_HPPASS_SAR_MUXED_SAMP_1</a> | <a class="code" href="group__group__hppass__sar__muxed__samplers.html#ga0676700ddab65120c1e85e257860b00a">CY_HPPASS_SAR_MUXED_SAMP_2</a> | <a class="code" href="group__group__hppass__sar__muxed__samplers.html#ga932f973c20e6455f2710dcc5b3a5ec03">CY_HPPASS_SAR_MUXED_SAMP_3</a>,</div><div class="line">    .holdCount   = 29, <span class="comment">/* Optimal value */</span></div><div class="line">    .aroute    = <span class="keyword">true</span>,</div><div class="line">    .dirSampGain = {<a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>,</div><div class="line">                    <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>,</div><div class="line">                    <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, CY_HPPASS_SAR_SAMP_GAIN_1},</div><div class="line">    .muxSampGain = {<a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, <a class="code" href="group__group__hppass__sar__enums.html#gga11f649f48e0d846f657491a8d6a432e6a6cf95803fd841741b1815e64dc16de1e">CY_HPPASS_SAR_SAMP_GAIN_1</a>, CY_HPPASS_SAR_SAMP_GAIN_1},</div><div class="line">    .sampTime    = {100, 31, 31}, <span class="comment">/* Optimal value */</span></div><div class="line">    .chan        = {&amp;chanCfg, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, &amp;chanCfg, NULL,</div><div class="line">                    NULL, NULL, &amp;chanCfg, NULL, NULL, NULL, &amp;chanCfg, NULL, NULL, NULL, &amp;chanCfg, NULL, NULL, NULL},</div><div class="line">    .grp         = {&amp;grpCfg, NULL, NULL, NULL, NULL, NULL, NULL, NULL},</div><div class="line">    .limit       = {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},    </div><div class="line">    .muxMode     = {<a class="code" href="group__group__hppass__sar__enums.html#ggab8d45f2bf082e466df16caed456b727aa80cd4f6f2903e96a0f035e463a0c4b3c">CY_HPPASS_SAR_MUX_SEQ</a>, <a class="code" href="group__group__hppass__sar__enums.html#ggab8d45f2bf082e466df16caed456b727aa80cd4f6f2903e96a0f035e463a0c4b3c">CY_HPPASS_SAR_MUX_SEQ</a>, <a class="code" href="group__group__hppass__sar__enums.html#ggab8d45f2bf082e466df16caed456b727aa80cd4f6f2903e96a0f035e463a0c4b3c">CY_HPPASS_SAR_MUX_SEQ</a>, CY_HPPASS_SAR_MUX_SEQ},</div><div class="line">    .fir         = {NULL, NULL},</div><div class="line">    .fifo        = NULL</div><div class="line">};</div></div><!-- fragment -->
</div>
</div>
<a id="ga5349530318d79007e2cef458f2c0fe56"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5349530318d79007e2cef458f2c0fe56">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_IsBusy()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE bool Cy_HPPASS_SAR_IsBusy </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the SAR ADC busy status. </p>
<dl class="section note"><dt>Note</dt><dd>Do not use this function with continuous Sequencer Group mode <a class="el" href="structcy__stc__hppass__sar__grp__t.html#aace0ee2f74f2ba483dcf12f6e6796788">cy_stc_hppass_sar_grp_t::continuous</a>. See the Device Datasheet Errata section for more details.</dd></dl>
<dl class="section return"><dt>Returns</dt><dd>Busy status: true - busy, false - idle.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">        <span class="comment">/* Check that SAR is not busy */</span></div><div class="line">        <span class="keywordflow">if</span> (!<a class="code" href="group__group__hppass__sar__functions.html#ga5349530318d79007e2cef458f2c0fe56">Cy_HPPASS_SAR_IsBusy</a>())</div></div><!-- fragment -->
</div>
</div>
<a id="ga239af9f2d06beb9ae2fb20187e0dba91"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga239af9f2d06beb9ae2fb20187e0dba91">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_Config()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_SAR_Limit_Config </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>limIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__hppass__sar__limit__t.html">cy_stc_hppass_sar_limit_t</a> *&#160;</td>
          <td class="paramname"><em>limCfg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures the ADC limit crossing detection block. </p>
<dl class="section note"><dt>Note</dt><dd>If AC is running this configuration is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a7f6c5e025421582710cadfffcada200c">CY_HPPASS_AC_INVALID_STATE</a> will be returned).</dd>
<dd>
If the SAR block is currently busy the initialization is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a1b8592bb519e24c005a10ee1d49a8c58">CY_HPPASS_SAR_INVALID_STATE</a> will be returned).</dd>
<dd>
Since the 'block ready' status is combined SAR and CSG, this particular SAR function cannot be protected from reinitialization during the 'block ready' == true condition, so it is on user's responsibility when and from where to call this function to reconfigure this SAR sub-block.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">limIdx</td><td>The index of the limit crossing detection block. Valid range 0..7.</td></tr>
    <tr><td class="paramname">limCfg</td><td>Pointer to the limit crossing detection configuration structure <a class="el" href="structcy__stc__hppass__sar__limit__t.html">cy_stc_hppass_sar_limit_t</a>. The pointer cannot be NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: The SAR result should be in range between LIMIT_LOW and LIMIT_HIGH */</span></div><div class="line">    <span class="keyword">const</span> <a class="code" href="structcy__stc__hppass__sar__limit__t.html">cy_stc_hppass_sar_limit_t</a> lim0 =</div><div class="line">    {</div><div class="line">        .<a class="code" href="structcy__stc__hppass__sar__limit__t.html#a45dff6d7d1aa72d8c5641fcf243e03f7">cond</a> = <a class="code" href="group__group__hppass__sar__enums.html#gga17e54d717a55b3f03f172ce1fc3fa4bda0b994bc8bb2ac68b0f1588ea2fa9521b">CY_HPPASS_SAR_COND_INSIDE</a>,</div><div class="line">        .low = -300,</div><div class="line">        .high = 500</div><div class="line">    };</div><div class="line"></div><div class="line">    <span class="comment">/* Update limit configuration for crossing detection block #0 */</span></div><div class="line">    status = <a class="code" href="group__group__hppass__sar__functions.html#ga239af9f2d06beb9ae2fb20187e0dba91">Cy_HPPASS_SAR_Limit_Config</a>(0U, &amp;lim0);</div><div class="line">    <span class="comment">/* Process returned status */</span></div></div><!-- fragment -->
</div>
</div>
<a id="gae7372202646043f2295c6b1367424216"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae7372202646043f2295c6b1367424216">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_CrossTalkAdjust()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_HPPASS_SAR_CrossTalkAdjust </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>groupMsk</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Adjusts the sampler offset trimming according to the number of simultaneously triggered (sampled and held) samplers, specified by groupMask (for single or multiple simultaneously triggered groups with same timing settings) </p>
<p>Each sampler is compensated in relation to the other samplers that are sampled and held simultaneously.<br />
</p>
<p>Basic use case:</p><ul>
<li>This function has to be called after the following functions calls: <a class="el" href="group__group__hppass__cfg__functions.html#ga8d22889d8dd8c3fd87df1db2869a6956">Cy_HPPASS_Init</a>, <a class="el" href="group__group__hppass__sar__functions.html#ga60bb35c82a4f96e3c1a986c8b423ef99">Cy_HPPASS_SAR_Init</a>, <a class="el" href="group__group__hppass__sar__functions.html#ga3de90ec7c0eb9d3a2a559ab323458b7b">Cy_HPPASS_SAR_GroupConfig</a>, or <a class="el" href="group__group__hppass__sar__functions.html#gae982cd8f92aa77b171520a19ab3fb626">Cy_HPPASS_SAR_TempAdjust</a>.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>The Device Configurator automatically generates a call to this function during startup if the appropriate parameter in HPPASS configurations is checked.<br />
</dd></dl>
<p>Advanced use cases:</p><ul>
<li>If a sampler is involved in multiple groups, this function has to be called each time before another one of these groups is triggered, to re-compensate the sampler within the another group.</li>
<li>If multiple groups are triggered simultaneously (by the same trigger signal), and the sampling timer settings for these groups are identical, this function has to be called with combined mask of the simultaneously triggered groups.</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>This function does not perform compensation for four or fewer simultaneously triggered samplers (within single or multiple groups), as the impact of compensation in these cases is negligible. </dd></dl>
<dl class="section warning"><dt>Warning</dt><dd>This function has not be used when VDDA is less than 2.7V, as this can cause over-compensation.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">groupMsk</td><td>The <a class="el" href="group__group__hppass__sar__group__mask.html">mask</a> of the simultaneously triggered groups</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: The Cy_HPPASS_SAR_CrossTalkAdjust() call follows the Cy_HPPASS_SAR_TempAdjust() call */</span></div><div class="line"></div><div class="line">    <span class="comment">/* The CY_CFG_PWR_VDDA_MV macro is defined by the Device Configurator */</span></div><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gae982cd8f92aa77b171520a19ab3fb626">Cy_HPPASS_SAR_TempAdjust</a>((int16_t)fltTemp, CY_CFG_PWR_VDDA_MV);</div><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gae7372202646043f2295c6b1367424216">Cy_HPPASS_SAR_CrossTalkAdjust</a>(<a class="code" href="group__group__hppass__sar__group__mask.html#gaeca0bc720b2952b0c409efacfe3d58d8">CY_HPPASS_SAR_GROUP_0_Msk</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga3de90ec7c0eb9d3a2a559ab323458b7b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3de90ec7c0eb9d3a2a559ab323458b7b">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_GroupConfig()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_SAR_GroupConfig </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>grpIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="structcy__stc__hppass__sar__grp__t.html">cy_stc_hppass_sar_grp_t</a> *&#160;</td>
          <td class="paramname"><em>grpCfg</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Configures a single Sequencer Group. </p>
<dl class="section note"><dt>Note</dt><dd>If AC is running this configuration is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a7f6c5e025421582710cadfffcada200c">CY_HPPASS_AC_INVALID_STATE</a> will be returned).</dd>
<dd>
If the SAR block is currently busy the initialization is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a1b8592bb519e24c005a10ee1d49a8c58">CY_HPPASS_SAR_INVALID_STATE</a> will be returned).</dd>
<dd>
Since the 'block ready' status is combined SAR and CSG, this particular SAR function cannot be protected from reinitialization during the 'block ready' == true condition, so it is on user's responsibility when and from where to call this function to reconfigure this SAR sub-block.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">grpIdx</td><td>The index of the Sequencer Group. Valid range 0..7.</td></tr>
    <tr><td class="paramname">grpCfg</td><td>Pointer to the Sequencer Group configuration structure <a class="el" href="structcy__stc__hppass__sar__grp__t.html">cy_stc_hppass_sar_grp_t</a>. The pointer cannot be NULL.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line"><span class="keyword">const</span> <a class="code" href="structcy__stc__hppass__sar__grp__t.html">cy_stc_hppass_sar_grp_t</a> grpCfg =</div><div class="line">{</div><div class="line">    .<a class="code" href="structcy__stc__hppass__sar__grp__t.html#a352c1fe5740afb64945f0f04dc707a0a">dirSampMsk</a>   = <a class="code" href="group__group__hppass__sar__direct__samplers.html#gaca3d7ea9142b4b797c01e88c2a98624d">CY_HPPASS_SAR_DIRECT_SAMP_0</a>,</div><div class="line">    .muxSampMsk   = <a class="code" href="group__group__hppass__sar__muxed__samplers.html#gaf21f34172a8ec7e54b16000e73fafc21">CY_HPPASS_SAR_MUXED_SAMP_0</a> | <a class="code" href="group__group__hppass__sar__muxed__samplers.html#ga1c7a4d2f3700e836f84e51cfa372b85e">CY_HPPASS_SAR_MUXED_SAMP_1</a> | <a class="code" href="group__group__hppass__sar__muxed__samplers.html#ga0676700ddab65120c1e85e257860b00a">CY_HPPASS_SAR_MUXED_SAMP_2</a> | <a class="code" href="group__group__hppass__sar__muxed__samplers.html#ga932f973c20e6455f2710dcc5b3a5ec03">CY_HPPASS_SAR_MUXED_SAMP_3</a>,</div><div class="line">    .muxChanIdx      = {0, 0, 0, 0},</div><div class="line">    .trig     = <a class="code" href="group__group__hppass__sar__enums.html#ggafb345a3d451274c4b40309384dd07efcaf1c8e5026bb0f93d95f12a04ea073bcf">CY_HPPASS_SAR_TRIG_AC</a>,</div><div class="line">    .sampTime = <a class="code" href="group__group__hppass__sar__enums.html#ggaffa59d1aa8d36df32dca30f0afed2e0fac82612fac74208f8ac5ba8f776c0ddb2">CY_HPPASS_SAR_SAMP_TIME_0</a>,</div><div class="line">    .priority    = <span class="keyword">false</span>,</div><div class="line">    .continuous  = <span class="keyword">false</span></div><div class="line">};</div></div><!-- fragment -->
</div>
</div>
<a id="gad09a8bb8ffbe65b558ca4f22e55347ed"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad09a8bb8ffbe65b558ca4f22e55347ed">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_DisableGroupContConvert()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a> Cy_HPPASS_SAR_DisableGroupContConvert </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>grpIdx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Disables continuous conversion for the specified SAR group. </p>
<dl class="section note"><dt>Note</dt><dd>If AC is running this configuration is not allowed (<a class="el" href="group__group__hppass__enums.html#gga14c32a49b351302efcaf56b2e5075e00a7f6c5e025421582710cadfffcada200c">CY_HPPASS_AC_INVALID_STATE</a> will be returned).</dd>
<dd>
to re-enable the continuous conversion, the restart of entire SAR block using <a class="el" href="group__group__hppass__ac__functions.html#gabbf381cbbe92e087faf4c89a549cd1d7">Cy_HPPASS_AC_Start</a> is needed.</dd>
<dd>
Since the 'block ready' status is combined SAR and CSG, this particular SAR function cannot be protected from reinitialization during the 'block ready' == true condition, so it is on user's responsibility when and from where to call this function to reconfigure this SAR sub-block.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">grpIdx</td><td>The index of the Sequencer Group. Valid range 0..7.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Status, <a class="el" href="group__group__hppass__enums.html#ga14c32a49b351302efcaf56b2e5075e00">cy_en_hppass_status_t</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line"><span class="preprocessor">    #define SAR_GROUP_IDX (5U)</span></div><div class="line"></div><div class="line">    <span class="comment">/* Disable continuous conversion for the specified SAR group */</span></div><div class="line">    <span class="keywordflow">if</span> (CY_HPPASS_SUCCESS != <a class="code" href="group__group__hppass__sar__functions.html#gad09a8bb8ffbe65b558ca4f22e55347ed">Cy_HPPASS_SAR_DisableGroupContConvert</a>(SAR_GROUP_IDX))</div><div class="line">    {</div><div class="line">        <span class="comment">/* Something went wrong, insert error handling here */</span></div><div class="line">    }</div></div><!-- fragment -->
</div>
</div>
<a id="ga3084b0be0216b593584c68f799553a5f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga3084b0be0216b593584c68f799553a5f">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_GetTriggerCollisionStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint8_t Cy_HPPASS_SAR_GetTriggerCollisionStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Sequencer Group Trigger Collision Status for all the Groups. </p>
<dl class="section return"><dt>Returns</dt><dd>8-bit Group mask (a bit per each Group). See <a class="el" href="group__group__hppass__sar__trigger.html">Sequencer Group Trigger Collision Status Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    uint8_t trigCollision = <a class="code" href="group__group__hppass__sar__functions.html#ga3084b0be0216b593584c68f799553a5f">Cy_HPPASS_SAR_GetTriggerCollisionStatus</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="gae8665e6baadc7d4eed90771fd9471129"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae8665e6baadc7d4eed90771fd9471129">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_ClearTriggerCollisionStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_ClearTriggerCollisionStatus </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>trigCollision</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the Sequencer Group Trigger Collision Status for the specified Sequences. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">trigCollision</td><td>The 8-bit Group mask (a bit per each Group). See <a class="el" href="group__group__hppass__sar__trigger.html">Sequencer Group Trigger Collision Status Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gae8665e6baadc7d4eed90771fd9471129">Cy_HPPASS_SAR_ClearTriggerCollisionStatus</a>(<a class="code" href="group__group__hppass__sar__trigger.html#ga87fc88efae7cfb61893d04fa55bacfa1">CY_HPPASS_SAR_GROUP_0_TRIG_COLLISION</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga0452cda79fe2df67fdf19b967975158a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0452cda79fe2df67fdf19b967975158a">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_GetHoldViolationStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint8_t Cy_HPPASS_SAR_GetHoldViolationStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the Sequencer Group Hold Violation Status for all the Sequences. </p>
<dl class="section return"><dt>Returns</dt><dd>8-bit Group mask (a bit per each Group).</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    uint8_t holdViolation = <a class="code" href="group__group__hppass__sar__functions.html#ga0452cda79fe2df67fdf19b967975158a">Cy_HPPASS_SAR_GetHoldViolationStatus</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="gae62232436fd4a7b10910f45f69b026fd"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae62232436fd4a7b10910f45f69b026fd">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_ClearHoldViolationStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_ClearHoldViolationStatus </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>holdViolation</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the Sequencer Group Hold Violation Status for the specified Sequences. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">holdViolation</td><td>The 8-bit Group mask (a bit per each Group).</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gae62232436fd4a7b10910f45f69b026fd">Cy_HPPASS_SAR_ClearHoldViolationStatus</a>(0U);</div></div><!-- fragment -->
</div>
</div>
<a id="ga9fd436201ef4ead2ec1083f83c8feff4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga9fd436201ef4ead2ec1083f83c8feff4">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_SetHoldViolationCnt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_SetHoldViolationCnt </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>cnt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets the common maximum hold count value for all the Sequencer Groups. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">cnt</td><td>The hold count value.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga9fd436201ef4ead2ec1083f83c8feff4">Cy_HPPASS_SAR_SetHoldViolationCnt</a>(0xFFU);</div><div class="line">    uint16_t holdCnt = <a class="code" href="group__group__hppass__sar__functions.html#ga81b1f81695eda9439c95a19486e84664">Cy_HPPASS_SAR_GetHoldViolationCnt</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="ga81b1f81695eda9439c95a19486e84664"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga81b1f81695eda9439c95a19486e84664">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_GetHoldViolationCnt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint16_t Cy_HPPASS_SAR_GetHoldViolationCnt </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the common maximum hold count value for all the Sequencer Groups. </p>
<dl class="section return"><dt>Returns</dt><dd>The hold count value.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga9fd436201ef4ead2ec1083f83c8feff4">Cy_HPPASS_SAR_SetHoldViolationCnt</a>(0xFFU);</div><div class="line">    uint16_t holdCnt = <a class="code" href="group__group__hppass__sar__functions.html#ga81b1f81695eda9439c95a19486e84664">Cy_HPPASS_SAR_GetHoldViolationCnt</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="ga1ac70409790506a22b8ae995c272a435"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1ac70409790506a22b8ae995c272a435">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_SetTempSensorCurrent()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_SetTempSensorCurrent </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="group__group__hppass__sar__enums.html#gac8e3e55c7177e5a2824875af39cd78a1">cy_en_hppass_sar_temp_sensor_current_t</a>&#160;</td>
          <td class="paramname"><em>curr</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Selects low or high current for temperature sensor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">curr</td><td>Current: false - BJT current is 1uA (default), true - Add 8uA to BJT current.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="keywordflow">if</span> (flag)  <span class="comment">/* The flag should be set periodically, e.g., using AC, Timer, or SAR event itself. */</span></div><div class="line">    {</div><div class="line">        flag = <span class="keyword">false</span>; <span class="comment">/* Clear the request */</span></div><div class="line">        <span class="keywordflow">switch</span> (tempMeasureSequence)</div><div class="line">        {</div><div class="line">            <span class="keywordflow">case</span> TRIG_TEMP_HI:</div><div class="line">                <a class="code" href="group__group__hppass__sar__functions.html#ga1ac70409790506a22b8ae995c272a435">Cy_HPPASS_SAR_SetTempSensorCurrent</a>(<a class="code" href="group__group__hppass__sar__enums.html#ggac8e3e55c7177e5a2824875af39cd78a1ace376312b86d447408b4e7a2813aea6e">CY_HPPASS_SAR_TEMP_SENSOR_CURRENT_HI</a>);</div><div class="line">                <a class="code" href="group__group__hppass__rt__functions.html#ga18367310dbde8b68347e112512dff9b0">Cy_HPPASS_SetFwTrigger</a>(<a class="code" href="group__group__hppass__triggers__masks.html#gacffb19be53f1e17596d28406061d88f8">CY_HPPASS_TRIG_0_MSK</a>); <span class="comment">/* Triggering the temperature measurement */</span></div><div class="line">                tempMeasureSequence = TRIG_TEMP_LO;</div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">            <span class="keywordflow">case</span> TRIG_TEMP_LO:</div><div class="line">                tempHi = <a class="code" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a>(TEMPSENS_CHAN_IDX);</div><div class="line">                <a class="code" href="group__group__hppass__sar__functions.html#ga1ac70409790506a22b8ae995c272a435">Cy_HPPASS_SAR_SetTempSensorCurrent</a>(<a class="code" href="group__group__hppass__sar__enums.html#ggac8e3e55c7177e5a2824875af39cd78a1a28576aad6716ce33472e1770bf454e0e">CY_HPPASS_SAR_TEMP_SENSOR_CURRENT_LO</a>);</div><div class="line">                <a class="code" href="group__group__hppass__rt__functions.html#ga18367310dbde8b68347e112512dff9b0">Cy_HPPASS_SetFwTrigger</a>(<a class="code" href="group__group__hppass__triggers__masks.html#gacffb19be53f1e17596d28406061d88f8">CY_HPPASS_TRIG_0_MSK</a>); <span class="comment">/* Triggering the temperature measurement */</span></div><div class="line">                tempMeasureSequence = CALC_TEMP;</div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">            <span class="keywordflow">case</span> CALC_TEMP:</div><div class="line">                tempLo = <a class="code" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a>(TEMPSENS_CHAN_IDX);</div><div class="line">                instTemp = <a class="code" href="group__group__hppass__sar__functions.html#gaf2058860b27001f3d1eb23ad5f086e6c">Cy_HPPASS_TEMP_Calc</a>(tempHi, tempLo);</div><div class="line">                fltTemp = K * fltTemp + (1.f - K) * instTemp; <span class="comment">/* One pole Low Pass Filter. K = Tf/(Tf + Ts).</span></div><div class="line"><span class="comment">                                                               * Tf: filter time constant, Ts: sample time. */</span></div><div class="line">                tempMeasureSequence = TRIG_TEMP_HI; <span class="comment">/* Go back to the start of the sequence */</span></div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">            <span class="keywordflow">default</span>:</div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">        }</div><div class="line">    }</div></div><!-- fragment -->
</div>
</div>
<a id="gaf2058860b27001f3d1eb23ad5f086e6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaf2058860b27001f3d1eb23ad5f086e6c">&#9670;&nbsp;</a></span>Cy_HPPASS_TEMP_Calc()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE int16_t Cy_HPPASS_TEMP_Calc </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>tempHi</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>tempLo</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Calculates the temperature based on two ADC reading results of temperature sensor. </p>
<p>See the device Architecture Technical Reference Manual for more detail.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">tempHi</td><td>ADC reading when the selected temp sensor is biased with a additional 8uA current.</td></tr>
    <tr><td class="paramname">tempLo</td><td>ADC reading when the selected temp sensor is biased with a 1uA current.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>Temperature value.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="keywordflow">if</span> (flag)  <span class="comment">/* The flag should be set periodically, e.g., using AC, Timer, or SAR event itself. */</span></div><div class="line">    {</div><div class="line">        flag = <span class="keyword">false</span>; <span class="comment">/* Clear the request */</span></div><div class="line">        <span class="keywordflow">switch</span> (tempMeasureSequence)</div><div class="line">        {</div><div class="line">            <span class="keywordflow">case</span> TRIG_TEMP_HI:</div><div class="line">                <a class="code" href="group__group__hppass__sar__functions.html#ga1ac70409790506a22b8ae995c272a435">Cy_HPPASS_SAR_SetTempSensorCurrent</a>(<a class="code" href="group__group__hppass__sar__enums.html#ggac8e3e55c7177e5a2824875af39cd78a1ace376312b86d447408b4e7a2813aea6e">CY_HPPASS_SAR_TEMP_SENSOR_CURRENT_HI</a>);</div><div class="line">                <a class="code" href="group__group__hppass__rt__functions.html#ga18367310dbde8b68347e112512dff9b0">Cy_HPPASS_SetFwTrigger</a>(<a class="code" href="group__group__hppass__triggers__masks.html#gacffb19be53f1e17596d28406061d88f8">CY_HPPASS_TRIG_0_MSK</a>); <span class="comment">/* Triggering the temperature measurement */</span></div><div class="line">                tempMeasureSequence = TRIG_TEMP_LO;</div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">            <span class="keywordflow">case</span> TRIG_TEMP_LO:</div><div class="line">                tempHi = <a class="code" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a>(TEMPSENS_CHAN_IDX);</div><div class="line">                <a class="code" href="group__group__hppass__sar__functions.html#ga1ac70409790506a22b8ae995c272a435">Cy_HPPASS_SAR_SetTempSensorCurrent</a>(<a class="code" href="group__group__hppass__sar__enums.html#ggac8e3e55c7177e5a2824875af39cd78a1a28576aad6716ce33472e1770bf454e0e">CY_HPPASS_SAR_TEMP_SENSOR_CURRENT_LO</a>);</div><div class="line">                <a class="code" href="group__group__hppass__rt__functions.html#ga18367310dbde8b68347e112512dff9b0">Cy_HPPASS_SetFwTrigger</a>(<a class="code" href="group__group__hppass__triggers__masks.html#gacffb19be53f1e17596d28406061d88f8">CY_HPPASS_TRIG_0_MSK</a>); <span class="comment">/* Triggering the temperature measurement */</span></div><div class="line">                tempMeasureSequence = CALC_TEMP;</div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">            <span class="keywordflow">case</span> CALC_TEMP:</div><div class="line">                tempLo = <a class="code" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a>(TEMPSENS_CHAN_IDX);</div><div class="line">                instTemp = <a class="code" href="group__group__hppass__sar__functions.html#gaf2058860b27001f3d1eb23ad5f086e6c">Cy_HPPASS_TEMP_Calc</a>(tempHi, tempLo);</div><div class="line">                fltTemp = K * fltTemp + (1.f - K) * instTemp; <span class="comment">/* One pole Low Pass Filter. K = Tf/(Tf + Ts).</span></div><div class="line"><span class="comment">                                                               * Tf: filter time constant, Ts: sample time. */</span></div><div class="line">                tempMeasureSequence = TRIG_TEMP_HI; <span class="comment">/* Go back to the start of the sequence */</span></div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">            <span class="keywordflow">default</span>:</div><div class="line">                <span class="keywordflow">break</span>;</div><div class="line">        }</div><div class="line">    }</div></div><!-- fragment -->
</div>
</div>
<a id="gae982cd8f92aa77b171520a19ab3fb626"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae982cd8f92aa77b171520a19ab3fb626">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_TempAdjust()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Cy_HPPASS_SAR_TempAdjust </td>
          <td>(</td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>temp</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>vRef</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>BWC. </p>
<p>Adjusts the offset calibration value according to input temperature value.</p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">temp</td><td>The temperature value.</td></tr>
    <tr><td class="paramname">vRef</td><td>The reference voltage in mV used by the system in the field.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: Update offset calibration according to temperature and VREF in the field */</span></div><div class="line"><span class="preprocessor">    #define TEMPERATURE_IN_CELSIUS  (60)</span></div><div class="line"><span class="preprocessor">    #define VREF_IN_MV              (3400U)</span></div><div class="line"></div><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gae982cd8f92aa77b171520a19ab3fb626">Cy_HPPASS_SAR_TempAdjust</a>(TEMPERATURE_IN_CELSIUS, VREF_IN_MV);</div></div><!-- fragment -->
</div>
</div>
<a id="gae0abc60093f11512759672d1e0883c5a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gae0abc60093f11512759672d1e0883c5a">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Limit_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the limit crossing interrupt register status. </p>
<dl class="section return"><dt>Returns</dt><dd>The status of combined interrupt requests for the SAR <a class="el" href="group__group__hppass__sar__limit__interrupts.html">Group_hppass_sar_limit_interrupts</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: Get the limit crossing interrupt register status */</span></div><div class="line">    interrupt = <a class="code" href="group__group__hppass__sar__functions.html#gae0abc60093f11512759672d1e0883c5a">Cy_HPPASS_SAR_Limit_GetInterruptStatus</a>();</div><div class="line">    <span class="comment">/* Process returned status */</span></div></div><!-- fragment -->
</div>
</div>
<a id="ga829d71421d3d57e4ac9c06bfbf8d9c37"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga829d71421d3d57e4ac9c06bfbf8d9c37">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_Limit_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears the limit crossing interrupt for SAR. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to clear. Each bit of this mask is responsible for clearing of the particular interrupt in the SAR <a class="el" href="group__group__hppass__sar__limit__interrupts.html">Group_hppass_sar_limit_interrupts</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: Clear limit interrupt for the SAR Sequencer Group #0 */</span></div><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga829d71421d3d57e4ac9c06bfbf8d9c37">Cy_HPPASS_SAR_Limit_ClearInterrupt</a>(<a class="code" href="group__group__hppass__sar__limit__interrupts.html#ga1f57368538d99f3caf81de18b90d078e">CY_HPPASS_INTR_SAR_LIMIT_GROUP_0</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga0308c7f9d1bb48be9254ba33ba45454c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0308c7f9d1bb48be9254ba33ba45454c">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_Limit_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a software interrupt request for the specified limit crossing detection block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to set. Each bit of this mask is responsible for triggering of the particular interrupt in the SAR <a class="el" href="group__group__hppass__sar__limit__interrupts.html">Group_hppass_sar_limit_interrupts</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: Set limit interrupt for the SAR Sequencer Group #7 */</span></div><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga0308c7f9d1bb48be9254ba33ba45454c">Cy_HPPASS_SAR_Limit_SetInterrupt</a>(<a class="code" href="group__group__hppass__sar__limit__interrupts.html#gab09a5e51320a5cdc9cb759de1b9df26b">CY_HPPASS_INTR_SAR_LIMIT_GROUP_7</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="gaccf34dc0221088859ed778aa1de3afd8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaccf34dc0221088859ed778aa1de3afd8">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_Limit_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the interrupt for the specified limit crossing detection block. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts allowable for activation. Each bit of this mask allows triggering of the particular interrupt in the SAR <a class="el" href="group__group__hppass__sar__limit__interrupts.html">Group_hppass_sar_limit_interrupts</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: Enable the limit interrupt for the SAR Sequencer Group #3 */</span></div><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gaccf34dc0221088859ed778aa1de3afd8">Cy_HPPASS_SAR_Limit_SetInterruptMask</a>(<a class="code" href="group__group__hppass__sar__limit__interrupts.html#ga9908a05908f151a7159bb12bc9a9ab1e">CY_HPPASS_INTR_SAR_LIMIT_GROUP_3</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga6f0e6799b4dd13745c9b657b9bd8f6f1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga6f0e6799b4dd13745c9b657b9bd8f6f1">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Limit_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Returns the interrupt mask for the specified limit crossing detection block. </p>
<dl class="section return"><dt>Returns</dt><dd>The mask of the interrupts allowable for activation <a class="el" href="group__group__hppass__sar__limit__interrupts.html">Group_hppass_sar_limit_interrupts</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">     <span class="comment">/* Scenario: Get limit crossing interrupt masked status */</span></div><div class="line">    interrupt = <a class="code" href="group__group__hppass__sar__functions.html#ga6f0e6799b4dd13745c9b657b9bd8f6f1">Cy_HPPASS_SAR_Limit_GetInterruptMask</a>();</div><div class="line">    <span class="comment">/* Process returned status */</span></div></div><!-- fragment -->
</div>
</div>
<a id="ga8efe74693ccee843bc6ca9bbd4253cb1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8efe74693ccee843bc6ca9bbd4253cb1">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Limit_GetInterruptStatusMasked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Limit_GetInterruptStatusMasked </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets limit crossing interrupt masked status. </p>
<dl class="section return"><dt>Returns</dt><dd>The masked status of combined interrupt requests for the SAR <a class="el" href="group__group__hppass__sar__limit__interrupts.html">Group_hppass_sar_limit_interrupts</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <span class="comment">/* Scenario: Get limit crossing interrupt masked status */</span></div><div class="line">    interrupt = <a class="code" href="group__group__hppass__sar__functions.html#ga8efe74693ccee843bc6ca9bbd4253cb1">Cy_HPPASS_SAR_Limit_GetInterruptStatusMasked</a>();</div><div class="line">    <span class="comment">/* Process returned status */</span></div></div><!-- fragment -->
</div>
</div>
<a id="gaac98d2e357bd40e5705757bc9d863557"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gaac98d2e357bd40e5705757bc9d863557">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Result_GetInterruptStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Result_GetInterruptStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the SAR result interrupt status (ENTRY done, FIR done). </p>
<dl class="section return"><dt>Returns</dt><dd>The status of combined interrupt requests for the SAR <a class="el" href="group__group__hppass__sar__result__interrupts.html">Result Interrupt Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">        <span class="comment">/* Polling SAR interrupt status register */</span></div><div class="line">        <span class="keywordflow">if</span> (<a class="code" href="group__group__hppass__sar__result__interrupts.html#ga96f25ad40d97562badaa3940e40f8b86">CY_HPPASS_INTR_SAR_RESULT_GROUP_0</a> == <a class="code" href="group__group__hppass__sar__functions.html#gaac98d2e357bd40e5705757bc9d863557">Cy_HPPASS_SAR_Result_GetInterruptStatus</a>())</div></div><!-- fragment -->
</div>
</div>
<a id="ga5006b9e96c29a04b98946d7a08dbcce6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga5006b9e96c29a04b98946d7a08dbcce6">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Result_ClearInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_Result_ClearInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears SAR result interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to clear. Each bit of this mask is responsible for clearing of the particular interrupt in the SAR <a class="el" href="group__group__hppass__sar__result__interrupts.html">Result Interrupt Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">            <span class="comment">/* Clear interrupt for Result Group 0 */</span></div><div class="line">            <a class="code" href="group__group__hppass__sar__functions.html#ga5006b9e96c29a04b98946d7a08dbcce6">Cy_HPPASS_SAR_Result_ClearInterrupt</a>(<a class="code" href="group__group__hppass__sar__result__interrupts.html#ga96f25ad40d97562badaa3940e40f8b86">CY_HPPASS_INTR_SAR_RESULT_GROUP_0</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga331b8e7df3910122575b518b41466c22"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga331b8e7df3910122575b518b41466c22">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Result_SetInterrupt()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_Result_SetInterrupt </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets a software SAR result interrupt request. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts to set. Each bit of this mask is responsible for triggering of the particular interrupt in the SAR <a class="el" href="group__group__hppass__sar__result__interrupts.html">Result Interrupt Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga331b8e7df3910122575b518b41466c22">Cy_HPPASS_SAR_Result_SetInterrupt</a>(<a class="code" href="group__group__hppass__sar__result__interrupts.html#ga96f25ad40d97562badaa3940e40f8b86">CY_HPPASS_INTR_SAR_RESULT_GROUP_0</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga7102969241d68c2abeda3aeb01155cc6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga7102969241d68c2abeda3aeb01155cc6">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Result_SetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_Result_SetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">uint32_t&#160;</td>
          <td class="paramname"><em>interrupt</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Enables the SAR result interrupt. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">interrupt</td><td>The mask of interrupts allowable for activation. Each bit of this mask allows triggering of the particular interrupt in the SAR <a class="el" href="group__group__hppass__sar__result__interrupts.html">Result Interrupt Masks</a>.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga7102969241d68c2abeda3aeb01155cc6">Cy_HPPASS_SAR_Result_SetInterruptMask</a>(<a class="code" href="group__group__hppass__sar__result__interrupts.html#ga97c54477e00ecb84169c222c10038d14">CY_HPPASS_INTR_SAR_RESULT_FIR_0</a>);</div></div><!-- fragment -->
</div>
</div>
<a id="ga2c4cb400374c2813e7bc16d1d2385323"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga2c4cb400374c2813e7bc16d1d2385323">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Result_GetInterruptMask()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Result_GetInterruptMask </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the SAR result interrupt mask. </p>
<dl class="section return"><dt>Returns</dt><dd>The mask of the interrupts allowable for activation <a class="el" href="group__group__hppass__sar__result__interrupts.html">Result Interrupt Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    interrupt = <a class="code" href="group__group__hppass__sar__functions.html#ga2c4cb400374c2813e7bc16d1d2385323">Cy_HPPASS_SAR_Result_GetInterruptMask</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="ga1f4f81acddb913b5fe653253d49561d7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga1f4f81acddb913b5fe653253d49561d7">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_Result_GetInterruptStatusMasked()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint32_t Cy_HPPASS_SAR_Result_GetInterruptStatusMasked </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Gets the SAR result interrupt masked status. </p>
<dl class="section return"><dt>Returns</dt><dd>The masked status of combined interrupt requests for the SAR <a class="el" href="group__group__hppass__sar__result__interrupts.html">Result Interrupt Masks</a>.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    interrupt = <a class="code" href="group__group__hppass__sar__functions.html#ga1f4f81acddb913b5fe653253d49561d7">Cy_HPPASS_SAR_Result_GetInterruptStatusMasked</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="gad8e6f0d4464cb9c4f312d66edaefe7cb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad8e6f0d4464cb9c4f312d66edaefe7cb">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_SetSwitch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_SetSwitch </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>muxMask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Sets selected AROUTE switch closed. </p>
<p>Used for FW control input connections of the muxed samplers.</p>
<dl class="section note"><dt>Note</dt><dd>This function works only if <a class="el" href="structcy__stc__hppass__sar__t.html#a4119fc3ea6c77c62bef5161c37eec951" title="Analog routing MUX control mode. ">cy_stc_hppass_sar_t::muxMode</a> is set to CY_HPPASS_SAR_MUX_FW for selected mux. See TRM for details.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">muxMask</td><td>The mask of AROUTE switch.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#gad8e6f0d4464cb9c4f312d66edaefe7cb">Cy_HPPASS_SAR_SetSwitch</a>(sw);</div></div><!-- fragment -->
</div>
</div>
<a id="ga80c8ca625de6167c4aaf255e8f43539e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga80c8ca625de6167c4aaf255e8f43539e">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_ClearSwitch()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE void Cy_HPPASS_SAR_ClearSwitch </td>
          <td>(</td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>muxMask</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Clears selected AROUTE switch open. </p>
<p>Used for FW control input connections of the muxed samplers.</p>
<dl class="section note"><dt>Note</dt><dd>This function works only if <a class="el" href="structcy__stc__hppass__sar__t.html#a4119fc3ea6c77c62bef5161c37eec951" title="Analog routing MUX control mode. ">cy_stc_hppass_sar_t::muxMode</a> is set to CY_HPPASS_SAR_MUX_FW for selected mux. See TRM for details.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">muxMask</td><td>The mask of AROUTE switch.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    <a class="code" href="group__group__hppass__sar__functions.html#ga80c8ca625de6167c4aaf255e8f43539e">Cy_HPPASS_SAR_ClearSwitch</a>(sw);</div></div><!-- fragment -->
</div>
</div>
<a id="ga433f8b449d9a6ddab564ac18c400a742"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga433f8b449d9a6ddab564ac18c400a742">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_GetSwitchStatus()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">__STATIC_INLINE uint16_t Cy_HPPASS_SAR_GetSwitchStatus </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Reads the current state of the AROUTE switch. </p>
<dl class="section return"><dt>Returns</dt><dd>Read back the current state of the associated switch control.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>
<div class="fragment"><div class="line">    uint16_t sw = <a class="code" href="group__group__hppass__sar__functions.html#ga433f8b449d9a6ddab564ac18c400a742">Cy_HPPASS_SAR_GetSwitchStatus</a>();</div></div><!-- fragment -->
</div>
</div>
<a id="gad83e633bb4c9181c1a368f1a0c2463ea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#gad83e633bb4c9181c1a368f1a0c2463ea">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_CountsTo_Volts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="group__group__syslib__macros.html#ga4611b605e45ab401f02cab15c5e38715">float32_t</a> Cy_HPPASS_SAR_CountsTo_Volts </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>chanIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>vRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>chanCounts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts the raw ADC result in counts into the analog pin voltage in volts. </p>
<p>For example, for the 0.534-volt ADC, the return value is 0.534. Voltage calculation depends on ADC channel work modes: Averaging, Signed, Pseudo-Differential, and Sampler Gain.</p>
<p>The equation: </p><pre class="fragment">V = ((chanCounts + chanOffset * avgMultiplier) * vRef / 1000) / (4095 * avgMultiplier * samplerGain)
</pre><p>where,</p><ul>
<li>chanCounts: the raw counts from the SAR 16-bit CHAN_RESULT register</li>
<li>avgMultiplier: the multiplier value based on Averaging mode (<a class="el" href="structcy__stc__hppass__sar__chan__t.html">cy_stc_hppass_sar_chan_t</a>) and the number of samples averaged (<a class="el" href="group__group__hppass__sar__enums.html#gae2f7574296597739ca43f2196bab0853">cy_en_hppass_sar_avg_t</a>)<ul>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853a92843786edc02440f371b776a417c973">CY_HPPASS_SAR_AVG_DISABLED</a> : avgMultiplier is 1&lt;&lt;0</li>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853a80e3d54b97cdcb5d0201014e6a57f1e7">CY_HPPASS_SAR_AVG_16</a> : avgMultiplier is 1&lt;&lt;4</li>
</ul>
</li>
<li>chanOffset: the constant value based on Signed and Differential modes <a class="el" href="structcy__stc__hppass__sar__chan__t.html">cy_stc_hppass_sar_chan_t</a><ul>
<li>for Signed mode - true and Differential mode - disabled, chanOffset is 2048</li>
<li>for Signed mode - false and Differential mode - enabled, chanOffset is -2048</li>
<li>for all other cases, chanOffset is 0</li>
</ul>
</li>
<li>vRef: the SAR ADC reference voltage in millivolts (for example, 3300U).</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>This function is valid only for the right-aligned result.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">chanIdx</td><td>The channel index . Valid range - 0..27.</td></tr>
    <tr><td class="paramname">vRef</td><td>The SAR ADC reference voltage in millivolts</td></tr>
    <tr><td class="paramname">chanCounts</td><td>Conversion result from <a class="el" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result in Volts.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>

</div>
</div>
<a id="ga64204ad39c12e826a25a8552db509498"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga64204ad39c12e826a25a8552db509498">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_CountsTo_mVolts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int16_t Cy_HPPASS_SAR_CountsTo_mVolts </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>chanIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>vRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>chanCounts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts the raw ADC result in counts into the analog pin voltage in millivolts. </p>
<p>For example, for the 0.534-volts ADC, the return value is 534. Voltage calculation depends on ADC channel work modes: Averaging, Signed, Pseudo-Differential, and Sampler Gain.</p>
<p>The equation: </p><pre class="fragment">mV = ((chanCounts + chanOffset * avgMultiplier) * vRef) / (4095 * avgMultiplier * samplerGain)
</pre><p>where,</p><ul>
<li>chanCounts: the raw counts from the SAR 16-bit CHAN_RESULT register</li>
<li>avgMultiplier: the multiplier value based on Averaging mode (<a class="el" href="structcy__stc__hppass__sar__chan__t.html">cy_stc_hppass_sar_chan_t</a>) and the number of samples averaged (<a class="el" href="group__group__hppass__sar__enums.html#gae2f7574296597739ca43f2196bab0853">cy_en_hppass_sar_avg_t</a>)<ul>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853a92843786edc02440f371b776a417c973">CY_HPPASS_SAR_AVG_DISABLED</a> : avgMultiplier is 1&lt;&lt;0</li>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853a80e3d54b97cdcb5d0201014e6a57f1e7">CY_HPPASS_SAR_AVG_16</a> : avgMultiplier is 1&lt;&lt;4</li>
</ul>
</li>
<li>chanOffset: the constant value based on Signed and Differential modes <a class="el" href="structcy__stc__hppass__sar__chan__t.html">cy_stc_hppass_sar_chan_t</a><ul>
<li>for Signed mode - true and Differential mode - disabled, chanOffset is 2048</li>
<li>for Signed mode - false and Differential mode - enabled, chanOffset is -2048</li>
<li>for all other cases, chanOffset is 0</li>
</ul>
</li>
<li>vRef: the SAR ADC reference voltage in millivolts (for example, 3300U).</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>This function is valid only for the right-aligned result.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">chanIdx</td><td>The channel index . Valid range - 0..27.</td></tr>
    <tr><td class="paramname">vRef</td><td>The SAR ADC reference voltage in millivolts</td></tr>
    <tr><td class="paramname">chanCounts</td><td>Conversion result from <a class="el" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result in millivolts.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>

</div>
</div>
<a id="ga280dae9d1868fc564b25f73cc64d6b70"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga280dae9d1868fc564b25f73cc64d6b70">&#9670;&nbsp;</a></span>Cy_HPPASS_SAR_CountsTo_uVolts()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int32_t Cy_HPPASS_SAR_CountsTo_uVolts </td>
          <td>(</td>
          <td class="paramtype">uint8_t&#160;</td>
          <td class="paramname"><em>chanIdx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">uint16_t&#160;</td>
          <td class="paramname"><em>vRef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">int16_t&#160;</td>
          <td class="paramname"><em>chanCounts</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Converts the raw ADC result in counts into the analog pin voltage in microvolts. </p>
<p>For example, for the 0.534-volts ADC, the return value is 534000. Voltage calculation depends on ADC channel work modes: Averaging, Signed, Pseudo-Differential, and Sampler Gain.</p>
<p>The equation: </p><pre class="fragment">uV = ((chanCounts + chanOffset * avgMultiplier) * vRef * 1000)/ (4095 * avgMultiplier * samplerGain)
</pre><p>where,</p><ul>
<li>chanCounts: the raw counts from the SAR 16-bit CHAN_RESULT register</li>
<li>avgMultiplier: the multiplier value based on Averaging mode (<a class="el" href="structcy__stc__hppass__sar__chan__t.html">cy_stc_hppass_sar_chan_t</a>) and the number of samples averaged (<a class="el" href="group__group__hppass__sar__enums.html#gae2f7574296597739ca43f2196bab0853">cy_en_hppass_sar_avg_t</a>)<ul>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853a92843786edc02440f371b776a417c973">CY_HPPASS_SAR_AVG_DISABLED</a> : avgMultiplier is 1&lt;&lt;0</li>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853a80e3d54b97cdcb5d0201014e6a57f1e7">CY_HPPASS_SAR_AVG_16</a> : avgMultiplier is 1&lt;&lt;4</li>
<li><a class="el" href="group__group__hppass__sar__enums.html#ggae2f7574296597739ca43f2196bab0853afe2615390e0e87c0ec39ac9d3ac997a2">CY_HPPASS_SAR_AVG_32</a> : avgMultiplier is 1&lt;&lt;4 in Signed mode and 1&lt;&lt;3 in Unsigned mode</li>
</ul>
</li>
<li>chanOffset: the constant value based on Signed and Differential modes <a class="el" href="structcy__stc__hppass__sar__chan__t.html">cy_stc_hppass_sar_chan_t</a><ul>
<li>for Signed mode - true and Differential mode - disabled, chanOffset is 2048</li>
<li>for Signed mode - false and Differential mode - enabled, chanOffset is -2048</li>
<li>for all other cases, chanOffset is 0</li>
</ul>
</li>
<li>vRef: the SAR ADC reference voltage in millivolts (for example, 3300U).</li>
</ul>
<dl class="section note"><dt>Note</dt><dd>This function is valid only for the right-aligned result.</dd></dl>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">chanIdx</td><td>The channel index . Valid range - 0..27.</td></tr>
    <tr><td class="paramname">vRef</td><td>The SAR ADC reference voltage in millivolts</td></tr>
    <tr><td class="paramname">chanCounts</td><td>Conversion result from <a class="el" href="group__group__hppass__sar__chan.html#gaea7bbb3947dc53f845f8f4955d678187">Cy_HPPASS_SAR_Result_ChannelRead</a></td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>The result in microvolts.</dd></dl>
<dl class="section user"><dt>Function Usage</dt><dd></dd></dl>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part
<div id="nav-path" class="navpath">
    <ul>
        <li class="footer">
            Generated for <b>MTB CAT1 Peripheral driver library</b> by <b>Cypress Semiconductor Corporation</b>.
            All rights reserved.
        </li>
    </ul>
</div>
-->
</body>
</html>
